hasEffectEnabled

abstract fun hasEffectEnabled(effectBlock: DesignBlock): Boolean

Deprecated

Calls to this function can be removed. All effects can be enabled and disabled.

Checks whether an effect block may be enabled and disabled.

Return

true if the block supports enabling and disabling, false otherwise.

Parameters

effectBlock

the effect block to query.